Add patch for donation nagging
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 23 Jan 2022 20:10:21 +0000 (21:10 +0100)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Sun, 23 Jan 2022 20:25:19 +0000 (21:25 +0100)
debian/patches/Disable-donation-nagging [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/Disable-donation-nagging b/debian/patches/Disable-donation-nagging
new file mode 100644 (file)
index 0000000..e2da5c9
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -67,7 +67,7 @@ public:
+     reportStatistics_(false),
+     allowBetaUpgrades_(false),
+     ignoreVersionMismatch_(true),
+-    disableDonateDialog_(false),
++    disableDonateDialog_(true),
+     donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
+   {
+   }
index f06b43b1199de9027887f8a1e8453670f0ed3ca4..5fb394f12775880a3a363896ab139cf37e739355 100644 (file)
@@ -3,3 +3,4 @@ gpsbabelfe_opt-in-for-usage-data-reporting
 gpsbabelfe_do-not-check-for-newer-version
 htmldoc-location
 gmapbase.html-location
+Disable-donation-nagging